	
document.write("<script src='../Shop/hb/js/mui.min.js'></script>");
document.write("<script src='../Shop/hb/js/mui.zoom.js'></script>");
document.write("<script src='../Shop/hb/js/mui.previewimage.js'></script>");
document.write("<script src='../Shop/hb/js/tools.js'></script>");
document.addEventListener('plusready',function(){
	    checkArguments();
	},false);
	// 判断启动方式
	function checkArguments(){
	    console.log("plus.runtime.launcher: "+plus.runtime.launcher);
	    var args= plus.runtime.arguments;
	    if(args){
	    	var suffix = args.substr(args.indexOf("h",2));
	    	window.location=suffix;
	    }
	}
	// 处理从后台恢复
	document.addEventListener('newintent',function(){
	    console.log("addEventListener: newintent");
	    checkArguments();
	},false);